package com.edu.entity.shop;

public class VoGraAndSub {
    private String grade;
    private String subject;
    private Integer page;
    private Integer size;

    public VoGraAndSub() {
    }

    public VoGraAndSub(String grade, String subject) {
        this.grade = grade;
        this.subject = subject;
    }

    public VoGraAndSub(String grade, String subject, Integer page, Integer size) {
        this.grade = grade;
        this.subject = subject;
        this.page = page;
        this.size = size;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "VoGraAndSub{" +
                "grade='" + grade + '\'' +
                ", subject='" + subject + '\'' +
                ", page=" + page +
                ", size=" + size +
                '}';
    }
}
